.course {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
  background-color: #f5f5f5;

  .fileter {
    width: 100%;
    background-color: #fff;
    // border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .search {
      flex: 1;
      font-size: 14px;

      .van-search__action {
        font-size: 14px;
        color: #666;
      }

    }

    .category {
      width: 60px;
      flex-shrink: 0;
      text-align: center;

      .iconfont {
        font-size: 18px;
        color: #333;
      }
    }

  }

  .course-list {
    width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    .nodata {
      width: 100%;
      height: 230px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: center;

      img {
        width: 160px;
      }

      div {
        line-height: 50px;
        font-size: 14px;
        color: #999;
      }
    }
    .course-item {
      width: 50%;
      padding: 5px;
      box-sizing: border-box;

      .course-cont {
        width: 100%;
        background-color: #FFF;
        border-radius: 5px;

        .img {
          width: 100%;
          height: 100px;
          border-radius: 5px;
          overflow: hidden;
          position: relative;

          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
          .type{
            position: absolute;
						top: 6px;
						left: 6px;
						width: 40px;
						height: 20px;
						background: rgba(0, 0, 0, .3);
						border-radius: 4px;
						display: flex;
						align-items: center;
						justify-content: center;

						i {
							width: 4px;
							height: 4px;
							background: #b82121;
							border-radius: 50%;
						}

						i.active {
							background: #3cbb4d;
						}

						span {
							font-size: 10px;
							color: #fff;
							margin-left: 4px;
						}
          }
          .status {
						position: absolute;
						top: 6px;
						left: 6px;
						width: 60px;
						height: 20px;
						background: rgba(0, 0, 0, .3);
						border-radius: 4px;
						display: flex;
						align-items: center;
						justify-content: center;

						i {
							width: 4px;
							height: 4px;
							background: #b82121;
							border-radius: 50%;
						}

						i.active {
							background: #3cbb4d;
						}

						span {
							font-size: 10px;
							color: #fff;
							margin-left: 4px;
						}
					}
        }

        .name {
          width: 100%;
          padding: 0 5px;
          box-sizing: border-box;
          line-height: 30px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          font-size: 14px;
          color: #333;
        }
        .progress-line{
          padding: 5px 5px;
          display: flex;
          align-items: center;
          span{
            flex-shrink: 0;
            color: #333;
            font-size: 12px;
            margin-left: 6px;
          }
          div{
            flex:1;
          }
        }

        .people {
          padding: 0 5px 8px;
          box-sizing: border-box;
          font-size: 12px;
          color: #999;
          line-height: 20px;
          display: flex;
          align-items: center;
          i.iconfont{
            font-size: 12px;
            margin-right: 4px;
          }
        }
      }
    }
  }

  .category-box {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    transition: all .2s;
    -webkit-transition: all .2s;
    transform-origin: 0% 50%;

    .category-list {
      position: absolute;
      top: 0;
      left: 0;
      width: 80%;
      height: 100%;
      background-color: #fff;

    }
  }

  .category-show {
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
  }
}
